import {request} from '@/network/http.js'
export function policy () {
  return new Promise((resolve) => {
    request({
      url: '/admin/oss/getPolicy',
      method: 'get'
    }).then(({ data }) => {
      resolve(data)
    })
  })
}